<!DOCTYPE html>
<#assign pg=JspTaglibs['http://jsptags.com/tags/navigation/pager'] pageEncoding="UTF-8"/>
<#assign ctx=request.contextPath />
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>活动</title>
	<link rel="stylesheet" href="${ctx}/assets/css/phonegift.css">
	<link rel="stylesheet" href="${ctx}/assets/css/sco.message.css" />
	<link rel="stylesheet" href="${ctx}/assets/css/xcConfirm.css" />
</head>
<style type="text/css">
			.sgBtn{width: 135px; height: 35px; line-height: 35px; margin-left: 10px; margin-top: 10px; text-align: center; background-color: #0095D9; color: #FFFFFF; float: left; border-radius: 5px;}
</style>
<body>
	<div class="row">
		<div class="col-md-12">
			<div class="panel panel-default" style="min-height:610px;">
				
			    <div class="panel-body">
	    			<form id="submit_form" action="${ctx}/activitymanage/phonecoupongift" class="form-horizontal" method="post">
	    				<input type="hidden" id="activityId" name="activityId" value=${activity.id} />
						<div class="swiper-container">
						    <div class="page" style="background-color:${activity.backgroudColor};background-size:100% 100%;">
						    	<img class="bgImage" id="image" src="${ctx}/${activity.activityImage?if_exists}" alt="bg_1"/>
						    	<div class="master">
						    		<input type="text" id="phone" name="phone" class="fomtor" placeholder="请输入手机号码"/>
						    		<button type="button" id="submit_button" class="pabutton">确认领取</button>
						    	</div>
						    	<div class="content" id="contentBody">
						    		<h4>活动规则</h4>
									<p>${activity.activityContent?if_exists}</p>
						    	</div>
						    </div>
						    <div class="" style="height: 168px;display:none;">
						    	<div class="sgBtn" ></div>
						    </div>
						</div>
					</form>
        		</div>
			</div>
		</div>
	</div>
</body>
</html>
<script type="text/javascript" language="javascript">
		window.daijia = {ctx : '${ctx}'};
		var id;
		id=${activity.id};
		var activityType='${activity.activityType}';
		<#if activity.money??>var activityMoney=${activity.money};</#if>
</script>
<script src="${ctx}/assets/js/jquery-1.11.0.min.js"></script>
<script src="${ctx}/assets/js/sco.message.js"></script>
<script src="${ctx}/assets/js/xcConfirm.js"></script>
<script src="${ctx}/assets/js/activity/phone.js"></script>
